package com.framework.yhbEntity.sys;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.util.List;

@Data
public class YhbDept {
  @TableId
  private Long yhbDeptId;
  private Long parentId;
  private String name;
  private long orderNum;
  private long delFlag;
  /**
   * ztree属性
   */
  @TableField(exist = false)
  private Boolean open;
  @TableField(exist = false)
  private List<?> list;

  // 上级部门名称
  @TableField(exist = false)
  private String parentName;

}
